import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:palmf_hid/common/utils/utils.dart';
import 'package:palmf_hid/generated/assets.dart';

import 'disposition_state.dart';

class DispositionLogic extends GetxController
    with GetSingleTickerProviderStateMixin {
  final DispositionState state = DispositionState();
  late TabController tabController;

  List tabs = ["临床症状设置", "诊断结论设置", "项目设置", "用户管理"];

  @override
  void onInit() {
    // TODO: implement onInit
    super.onInit();
    tabController = TabController(length: tabs.length, vsync: this);
  }

  @override
  void onReady() {
    // TODO: implement onReady
    super.onReady();
    rootBundle.loadString(Assets.jsonProject).then((value) {
      // MyLogUtil().i('check_project$value');
    });
  }

  @override
  void onClose() {
    // TODO: implement onClose
    super.onClose();
  }
}
